81a15230282fd81738026edfa046027d58dd0735,src/com/itmill/toolkit/tests/TestComponentsAndLayouts.java,TestComponentsAndLayouts,populateLayout,#Layout#,132

Before Change



		ClassResource flashResource = new ClassResource("itmill_spin.swf", this);
		Embedded emb = new Embedded("Embedded " + count++, flashResource);
		test(layout, emb);
		emb.setType(Embedded.TYPE_OBJECT);
		emb.setMimeType("application/x-shockwave-flash");
		emb.setWidth(250);
		emb.setHeight(100);

		Panel panel = new Panel("Panel " + count++);
		test(layout, panel);

		Label label = new Label("Label " + count++);
		test(layout, label);

		Link link = new Link("Link " + count++, new ExternalResource(
				"www.itmill.com"));
		test(layout, link);

		NativeSelect nativeSelect = new NativeSelect("NativeSelect " + count++);
		test(layout, nativeSelect);
		nativeSelect.setContainerDataSource(getContainer());

		OptionGroup optionGroup = new OptionGroup("OptionGroup " + count++);
		test(layout, optionGroup);
		optionGroup.setContainerDataSource(getSmallContainer());
		optionGroup.setItemCaptionPropertyId("UNIT");

After Change


		emb.setMimeType("application/x-shockwave-flash");
		emb.setWidth(250);
		emb.setHeight(100);
		test(layout, emb);

		Panel panel = new Panel("Panel " + count++);
		test(layout, panel);

		Label label = new Label("Label " + count++);
		test(layout, label);

		Link link = new Link("Link " + count++, new ExternalResource(
				"www.itmill.com"));
		test(layout, link);

		NativeSelect nativeSelect = new NativeSelect("NativeSelect " + count++);
		nativeSelect.setContainerDataSource(getContainer());
		test(layout, nativeSelect);

		OptionGroup optionGroup = new OptionGroup("OptionGroup " + count++);
		optionGroup.setContainerDataSource(getSmallContainer());
		optionGroup.setItemCaptionPropertyId("UNIT");
		test(layout, optionGroup);

		ProgressIndicator pi = new ProgressIndicator();
		pi.setCaption("ProgressIndicator");